-
-
Notifications
You must be signed in to change notification settings - Fork 128
Replace gas sprite animations with shader-based animations. #1554
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ework for shader-based gas rendering
…hat SharedGasTileOverlaySystem recognizes shaders as making a gas visible.
Opening for review now that I've got everything more or less done, would appreciate if people w/ older hardware especially could test this out to make sure that it doesn't make things explode on you. |
interesting! |
oh Something Is Going On Here, things change based on how zoomed in you are for no apparent reason.... |
Nah, I think there's some deeper bug / quirk with the way the game renders things that just doesn't like the way I'm specifically doing this. |
A set of fairly small edits to GasTileOverlay, GasPrototype & gases.yml to allow them to use shaders instead of sprite animations.
Still not entirely happy with the effects but I could sit here tweaking numbers for a decade and probably not be happy with them.
They do have a semi-notable quirk of not showing up too well over specifically white tiles as a side-effect of how I wrote the shaders, though the actively dangerous gases are still very visible.
Screen.Recording.2025-02-10.180655.mp4
Changelog
🆑